package com.chat.data;

import com.uday.frmwrk.data.BaseDataItem;

public class UserInfoBaseItem extends BaseDataItem implements Comparable {
	private Long lngUserID;

	private String strIdLogin;
	private String strNmFirst;
	private String strNmMid;
	private String strNmLast;
	private String strCurrStatus;
	private String strStatusTyp;
	private String strEMail;

	public UserInfoBaseItem() {
	}

	public UserInfoBaseItem(Long lngUserId) {
		this.lngUserID = lngUserId;
	}

	public Long getLngUserID() {
		return lngUserID;
	}

	public void setLngUserID(Long lngUserID) {
		this.lngUserID = lngUserID;
	}

	public String getStrNmFirst() {
		return strNmFirst;
	}

	public void setStrNmFirst(String strNmFirst) {
		this.strNmFirst = strNmFirst;
	}

	public String getStrNmMid() {
		return strNmMid;
	}

	public void setStrNmMid(String strNmMid) {
		this.strNmMid = strNmMid;
	}

	public String getStrNmLast() {
		return strNmLast;
	}

	public void setStrNmLast(String strNmLast) {
		this.strNmLast = strNmLast;
	}

	public String getStrCurrStatus() {
		return strCurrStatus;
	}

	public void setStrCurrStatus(String strCurrStatus) {
		this.strCurrStatus = strCurrStatus;
	}

	public String getStrStatusTyp() {
		return strStatusTyp;
	}

	public void setStrStatusTyp(String strStatusTyp) {
		this.strStatusTyp = strStatusTyp;
	}

	public String getStrEMail() {
		return strEMail;
	}

	public void setStrEMail(String strEMail) {
		this.strEMail = strEMail;
	}

	public String getStrIdLogin() {
		return strIdLogin;
	}

	public void setStrIdLogin(String strIdLogin) {
		this.strIdLogin = strIdLogin;
	}

	public int compareTo(Object obj) {
		return (int) (lngUserID - ((UserInfoBaseItem) obj).getLngUserID());
	}

	@Override
	public boolean equals(Object objUserInfo) {
		return compareTo((UserInfoBaseItem) objUserInfo) == 0 ? true : false;
	}

	protected UserInfoBaseItem getObject() {
		return this;
	}

}
